package com.kkm.service;


import com.kkm.pojo.Order;
import com.kkm.pojo.PageBean;

import java.util.Map;

public interface OrderService {
//    //分页展示类型数据
//    PageBean<Consumer> showUser(String currentPage, int rows);
//    //添加类型
//    int  addUser(String tname);
//    //模糊查询类型
//    PageBean<Consumer>  checkUser(Map<String, String[]> condition, String currentPage, int rows);

    PageBean<Order> selectAll(String currentPage, int rows);
    PageBean<Order>  checkOrder(Map<String, String[]> condition, String currentPage, int rows);

    void deleteOrder(int oid);

    Order orderById(int oid);

    void modifyOrder(String address, int oid);


}
